
#include"main.h"
#include<unistd.h>
#include<string.h>


int main()
{
	char c[NUM];
	memset(c,0,sizeof(c));
	int i=0;
	char s[]="|/-\\";
	while(i<100)
	{

		c[i++]='#';
		printf("[%-100s][%d%%][%c]\r",c,i,s[i%4]);
		fflush(stdout);
		usleep(30000);
	}	
	printf("\n");

	return 0;
}







